package com.dm.cloud.auth.common.request;

import com.dm.cloud.core.annotation.Query;
import com.dm.cloud.core.mode.BaseSearchDTO;
import com.dm.cloud.core.enums.QueryEnum;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import io.swagger.v3.oas.annotations.media.Schema;

/**
   * @author hcx
   * @type AuthOrgPageSearch.java
   * @desc AuthOrg
   */

@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description ="AuthOrg search")
public class AuthOrgPageSearch extends BaseSearchDTO {

      /** 机构名称 **/ 
      @Schema(description = "机构名称")
      @Query(value = QueryEnum.EQ)
      private String name;
      /** 父级ID **/ 
      @Schema(description = "父级ID")
      @Query(value = QueryEnum.EQ)
      private String pId;
      /** id路径，方便查询 **/ 
      @Schema(description = "id路径，方便查询")
      @Query(value = QueryEnum.EQ)
      private String idPath;

}
